package com.tgy.bean;

import com.tgy.annotation.Transaction;
import org.springframework.stereotype.Component;

@Component
public class OrderService {

  @Transaction
  public String addOrder(String orderId){

    int i = 10 / 0;
    return orderId;
  }
}
